package com.gopay.common.exception.validator;

import com.gopay.common.constants.proccode.ProcCodeEnum;
import com.gopay.common.exception.GopayException;

import java.util.Map;

/**
 * 国付宝检查异常类
 * 
 * @GopayCheckException.java
 * @author fanghw
 * @2013-2-19 上午9:34:35 www.gopay.com.cn Inc.All rights reserved.
 */
public class GopayCheckException extends GopayException {

    private static final long serialVersionUID = 1L;

    
    /**
     * 提示信息
     */
    protected Map<String,Object> tipMap = null;

    public GopayCheckException(String errCode) {
        super(errCode);
    }

    public GopayCheckException(String errCode, Exception e) {
        super(errCode, e);
        this.errCode = errCode;
    }

    public GopayCheckException(String errCode, String errMsg) {
        super(errCode, errMsg);
    }

    public GopayCheckException(ProcCodeEnum procCodeEnum) {
        super(procCodeEnum);
    }

    public GopayCheckException(ProcCodeEnum procCodeEnum , String debugMsg) {
        super(procCodeEnum ,debugMsg);
    }

    public GopayCheckException(String errCode, Map<String,Object> tipMap) {
        super(errCode);
        this.tipMap = tipMap;
    }
    
    public GopayCheckException(String errCode, Map<String,Object> tipMap, Exception e) {
        super(errCode,e);
        this.tipMap = tipMap;
    }

    public GopayCheckException(String errCode, String errMsg, Map<String,Object> tipMap) {
        super(errCode, errMsg);
        this.tipMap = tipMap;
    }
    public GopayCheckException(ProcCodeEnum procCodeEnum, Map<String,Object> tipMap) {
        super(procCodeEnum);
        this.tipMap = tipMap;
    }

    public GopayCheckException(String errCode, String errMsg, Map<String,Object> tipMap, Exception e) {
        super(errCode, errMsg, e);
        this.tipMap = tipMap;
    }

    public Map<String, Object> getTipMap() {
        return tipMap;
    }

    public void setTipMap(Map<String, Object> tipMap) {
        this.tipMap = tipMap;
    }

    

}
